//
//  SAAppStageConfig.m
//  GameFrame
//
//  Created by Hiroshi Nomura on 2014/05/24.
//  Copyright (c) 2014年 Hiroshi Nomura. All rights reserved.
//

#import "SAAppStageConfig.h"

#import "SAXMLDictionaryParser.h"

@interface SAXMLDictionaryParser()

@property (readwrite)NSInteger stageBlockSize;
@property (readwrite)NSString* defaultRenderName;
@property (readwrite)NSDictionary* renderNameDict;

@end

@implementation SAAppStageConfig

-(id)initWihStage:(NSString*)stageName
{
    if ((self = [super init])) {
        NSString* stageFileName = stageName;
        NSDictionary* configDict = [SAXMLDictionaryParser parseXMLfile:stageFileName];
        
        //TODO: Extract configDict and set values to properties.
    }
    return self;
}

@end
